'use strict';

function average_to_letter(collection) {

  //在这里写入代码
  var result=(collection.reduce(function(pre,cur){
    return pre+cur;
  },0))/collection.length;
  return String.fromCharCode(Math.ceil(result)+96)
}

module.exports = average_to_letter;

